package com.bosssoft.promotions.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

@Data
@TableName("user_coupon")
public class UserCoupon implements Serializable {
    private static final long serialVersionUID = 367470151980354735L;

    @TableId(value = "user_id")
    private String userId;

    @TableField(value = "coupon_id")
    private String couponId;
    /**
     * 优惠券数量
     */
    @TableField(value = "mount")
    private String mount;
    /**
     * 优惠券使用状态
     */
    @TableField(value = "status")
    private String status;
    /**
     * 领取时间
     */
    @TableField(value = "create_time")
    private Date time;
    /**
     * 版本号
     */
    @TableField(value = "version")
    private Long version;

}
